package com.lhf.springcloud.DAO.teacher;

import com.lhf.springcloud.Entity.teacher.TeacherBasicData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TeacherBasicMapper {
    List<TeacherBasicData> findAllTeacherBasicData(Integer startPage,Integer endPage);

    List<TeacherBasicData> findByTeacherIdCard(@Param("idCard") String idCard, @Param("teacherName") String teacherName, @Param("page") Integer page, @Param("limit") Integer limit);

    void updateTeacherData(String value, String id, String field);

    void addTeacherCourse(TeacherBasicData teacherBasicData);
    int accountTeacher();
}
